f94d945922df4ecf183d880888c22dcdaeff6d92,subprojects/platform-native/src/main/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/AbstractGccCompatibleToolChain.java,Intel32Architecture,apply,#DefaultGccPlatformToolChain#,197
Before Change
gccToolChain.getObjcCompiler().withArguments(m32args);
gccToolChain.getObjcppCompiler().withArguments(m32args);
gccToolChain.getLinker().withArguments(m32args);
gccToolChain.getAssembler().withArguments(new Action<List<String>>() {
public void execute(List<String> args) {
// TODO - this should be 'if toolchain is XCode'
if (operatingSystem.isMacOsX()) {
args.addAll(asList("-arch", "i386"));
} else {
args.add("--32");
}
}
});
}
}
After Change
gccToolChain.getObjcCompiler().withArguments(m32args);
gccToolChain.getObjcppCompiler().withArguments(m32args);
gccToolChain.getLinker().withArguments(m32args);
gccToolChain.getAssembler().withArguments(m32args);
}
}